﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userAdd.aspx.cs" Inherits="HPIT_Library.userAdd" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" />
		<link rel="stylesheet" href="css/Site.css" />
		<link rel="stylesheet" href="css/zy.all.css" />
		<link rel="stylesheet" href="css/font-awesome.min.css" />
		<link rel="stylesheet" href="css/amazeui.min.css" />
		<link rel="stylesheet" href="css/admin.css" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
         <div class="dvcontent">

			<div>
				<!--tab start-->
				<div class="tabs">
					<div class="hd">
						<ul>
							<li class="on" style="box-sizing: initial;-webkit-box-sizing: initial;">查看用户</li>
							<li class="" style="box-sizing: initial;-webkit-box-sizing: initial;" >
								<a href="userAdd.aspx">添加用户</a>
							</li>
						</ul>
					</div>
					<div class="bd">
						<ul style="display: block;padding: 20px;">
							<li>
								<!--分页显示角色信息 start-->
								<div>

								</div>
								<div id="dv1" style="text-align:center">
                                    <table border="1" style="margin:0 auto; text-align: center">
                <tr>
                    <td>编号</td>
                    <td>
                        <asp:TextBox ID="txtID" runat="server" Text="<%# UserInfo.id %>" ReadOnly="true" Enabled="false"></asp:TextBox>

                    </td>
                </tr>
                <tr>
                    <td>姓名</td>
                    <td>
                        <asp:TextBox ID="txtName" runat="server" Text="<%# UserInfo.MemberName %>"></asp:TextBox>
<%--                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*姓名不能为空" ControlToValidate="txtName" Display="Dynamic"></asp:RequiredFieldValidator>--%>

                    </td>
                </tr>
                <tr>
                    <td>地址</td>
                    <td>
                        <asp:TextBox ID="TextBox1" runat="server" Text="<%# UserInfo.MemberSite %>"></asp:TextBox>
<%--                         <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*地址不能为空" ControlToValidate="TextBox1" Display="Dynamic"></asp:RequiredFieldValidator>--%>

                    </td>
                </tr>
                <tr>
                    <td>电话</td>
                    <td>
                        <asp:TextBox ID="txtPhone" runat="server" Text="<%# UserInfo.MemberPhone %>"></asp:TextBox>
<%--                         <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*电话不能为空" ControlToValidate="txtPhone" Display="Dynamic"></asp:RequiredFieldValidator>--%>

                    </td>
                </tr>
                <tr>
                    <td>性别</td>
                    <td>
                        <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Selected="True">男</asp:ListItem>
                            <asp:ListItem Value="1">女</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Button ID="Button1" runat="server" Text="更新" OnClick="Button1_Click" />
                        <asp:Button ID="Button2" runat="server" Text="添加" OnClick="Button2_Click" />
                         <asp:Button ID="Button3" runat="server" Text="返回列表" PostBackUrl="~/user.aspx"/>
                    </td>

                </tr>
            </table>
								</div>
								
								<!--分页显示角色信息 end-->
							</li>
						</ul>
						<ul class="theme-popbod dform" style="display: none;">
							<div class="am-cf admin-main" style="padding-top: 0px;">
			<!-- content start -->
			
				<div class="am-cf admin-main" style="padding-top: 0px;">
					<!-- content start -->
		
					<!-- content end -->
				</div>
							<!--添加角色 end--
						</ul>
					</div>
				</div>
				<!--tab end-->

			</div>


		</div>
    </form>
</body>
</html>
